<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">基本信息</div>
        <table class="layui-table timo-detail-table">
            <colgroup>
                <col width="100px"><col>
                <col width="100px"><col>
            </colgroup>
            <tbody>
                <tr>
                    <th>分组信息</th>
                    <td colspan="3">
                        <div th:replace="/common/fragment :: selectTag('groupId',${groups},${groupId},'id','title','disabled')"></div>
                    </td>
                </tr>
                <tr>
                    <th>会议室名称</th>
                    <td th:text="${room.title}"></td>
                    <th>位置</th>
                    <td th:text="${room.position}"></td>
                </tr>
                <tr>
                    <th>容纳人数</th>
                    <td th:text="${room.volume}"></td>
                    <th>提供的设备</th>
                    <td th:text="${room.devices}"></td>
                </tr>
                <tr>
                    <th>是否有窗户</th>
                    <td  th:text="${room.window=='1'?'有':'无'}"></td>
                    <th>其它</th>
                    <td th:text="${room.other}"></td>
                </tr>
                <tr>
                    <th>创建用户</th>
                    <td th:text="${room.createBy?.nickname}"></td>
                    <th>更新用户</th>
                    <td th:text="${room.updateBy?.nickname}"></td>
                </tr>
                <tr>
                    <th>创建时间</th>
                    <td th:text="${#dates.format(room.createDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
                    <th>更新时间</th>
                    <td th:text="${#dates.format(room.updateDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
                </tr>
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>